from __future__ import annotations

from typing import List, Optional

from PySide2.QtCore import Qt
from PySide2.QtWidgets import QWidget

from mooetoolapp.handlercore.language_manager import LanguageManager
from mooetoolapp.handlercore.pcd_viewer_entry import PCDViewerWindow


class PCDViewerWidget(PCDViewerWindow):
    def __init__(self, parent: Optional[QWidget] = None) -> None:
        super().__init__(parent)
        self.language_manager = LanguageManager()

    def add_initial_files(self, paths: List[str]) -> None:
        self.add_files(paths)
